home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / OS / FWToolbx / FWWindow.k < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.6 KB  |  50 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FWWindow.k
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWWINDOW_K
  11. #define FWWINDOW_K
  12.  
  13. //========================================================================================
  14. //    Window style constants
  15. //========================================================================================
  16.  
  17. #define FW_kStandardWindow        0x00000001
  18. #define FW_kOverlappedWindow    0x00000002
  19. #define FW_kFloatingWindow        0x00000004
  20. #define FW_kModelessDialog        0x00000008
  21. #define FW_kModalDialog            0x00000010
  22.     
  23. #define FW_kSystemDialog        0x00000020
  24. #define FW_kResizeable            0x00000040
  25. #define FW_kHasCaption            0x00000080
  26. #define FW_kHasCloseBox            0x00000100
  27. #define FW_kHasMaximizeBox        0x00000200
  28. #define FW_kHasMinimizeBox        0x00000400
  29.     
  30. #define FW_kNoStyleWindow         0
  31. #define FW_kMaximized             0x00001000
  32. #define FW_kMinimized             0x00002000
  33.  
  34. #define FW_kStandardDialogPosition    0x00010000
  35.  
  36. // Standard document window
  37.  
  38. #ifdef FW_BUILD_MAC
  39. #define FW_kDocumentWindow        FW_kStandardWindow | FW_kResizeable | FW_kHasCloseBox | FW_kHasMaximizeBox | FW_kHasMinimizeBox
  40. #else
  41. // Note - OpenDoc on Windows creates the Shell window for us so our window is a child 
  42. // of the shell window. The result is that we don't need any of the adornment that go on a 
  43. // standard overlapped window.
  44. #define FW_kDocumentWindow        FW_kStandardWindow
  45. #endif
  46.  
  47. typedef unsigned long FW_WindowStyle;
  48.  
  49. #endif
  50.